<!DocType html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
 <head>
  <meta content="text/html;charset=utf-8"/>
 </head>
 
 <body>
 
 <div th:object="${user1}">
  用户姓名:<span id="uname1" th:text="*{name}"></span><br></br>
  用户住址:<span id="uaddress1" th:text="*{address}"></span><br></br>
 用户邮箱:<span id="uemail1" th:text="*{email}"></span><br></br>
 用户积分:<span id="uscore1" th:text="*{score}"></span><br></br>
 登录名字:<span id="loginname1" th:text="*{loginname}"></span><br></br>
 最后登录时间:<span id="lastlogintime1" th:text="*{lastlogintime}"></span><br></br>
 用户等级:<span id="gid" th:text="*{grade.gname}"></span>
 </div>
 </body>
</html>